﻿package com.ease.common.vo
{
	import mx.collections.ArrayCollection;

	[Bindable]
	[RemoteClass(alias="com.ease.common.vo.Ordering")]
	
	public class Ordering
	{
		public static const ASC:String="ASC";
		public static const DESC:String="DESC";

		private var _name:String;
		private var _type:String;
		private var _orders:mx.collections.ArrayCollection;

		public function Ordering()
		{
		}

		public function get name():String
		{
			return _name;
		}

		public function set name(value:String):void
		{
			_name = value;
		}

		public function get type():String
		{
			return _type;
		}

		public function set type(value:String):void
		{
			_type = value;
		}

		public function get orders():mx.collections.ArrayCollection
		{
			return _orders;
		}

		public function set orders(value:mx.collections.ArrayCollection):void
		{
			_orders = value;
		}
	}
}